﻿using BCCommon.Enums;
using BCCommon.OAEnums;
using System;

namespace BCEntity.OA.TeamWorks.TaskRecord
{
    /// <summary>
    /// 任务接收者记录
    /// </summary>
    public class TaskReceiverRecordEntity
    {
        /// <summary>
        /// 任务接收者记录Id
        /// </summary>
        public long TaskReceiverRecordId { get; set; }

        /// <summary>
        /// 活动实例Id
        /// </summary>
        public long WorkflowActivityInstanceId { get; set; }

        /// <summary>
        /// 任务步骤
        /// </summary>
        public int TaskStep { get; set; }

        /// <summary>
        /// 任务记录编号
        /// </summary>
        public string TaskRecordNo { get; set; }

        /// <summary>
        /// 接收人管理员Id
        /// </summary>
        public long ReceiverAdminId { get; set; }

        /// <summary>
        /// 接收人管理员姓名
        /// </summary>
        public string ReceiverAdminFullName { get; set; }

        /// <summary>
        /// 接收人类型。
        /// </summary>
        public RoleType ReceiverRoleType { get; set; }

        /// <summary>
        /// 接收人角色(执行人、参与人、审批人、复核人)
        /// </summary>
        public OATaskReceiverRole ReceiverRole { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
    }
}
